﻿using JinJun.YShow.BLL.IDenpendecyService;
using JinJun.YShow.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinJun.YShow.BLL.IService
{
    public interface IProductService:IBaseService<Product_Spu>,IDenpendecy
    {
         bool DeleteProduct(Product_Spu product_Spu, Pic pic);

         bool BatchAdd(Product_Spu product_Spu, List<Spec> specs);

        bool EditStock(Product_Sku product_Sku, Produc_Sku produc_Sku);

        bool BatchEdit(Product_Spu product_Spu, List<Spec> specs, List<Produc_Spu_Spec> produc_Spu_Specs);

        bool BatchEdit(Product_Spu product_Spu, List<Spec> specs, List<Produc_Spu_Spec> produc_Spu_Specs, List<Product_Sku> product_Skus, List<Produc_Sku> produc_Skus);
    }
}
